package com.zbkj.common.model.assistant;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 客服设置
 * </p>
 *
 * @author keNan
 * @since 2025-06-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_assistant_setting")
@ApiModel(value="AssistantSetting对象", description="客服设置")
public class AssistantSetting implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否开启会话超时自动关闭")
    private Boolean isConversationTimeoutAutoClose;
    @ApiModelProperty(value = "会话超时时间")
    private Integer conversationTimeout;
    @ApiModelProperty(value = "会话超时提示语")
    private String conversationTimeoutMsg;

    @ApiModelProperty(value = "是否开启用户评价反馈")
    private Boolean isOpenUserFeedback;
    @ApiModelProperty(value = "用户评价前提示语")
    private String userFeedbackBeforeMsg;
    @ApiModelProperty(value = "用户评价后提示语")
    private String userFeedbackAfterMsg;

    @ApiModelProperty(value = "会话分配模式")
    private Integer conversationAssignMode;
    @ApiModelProperty(value = "排队分配规则")
    private Integer queueAssignRule;
    @ApiModelProperty(value = "客服可同时接入数量")
    private Integer assistantConcurrentNumber;
    @ApiModelProperty(value = "客服上班时间")
    private String assistantWorkTime;
    @ApiModelProperty(value = "客服下班时间")
    private String assistantOffWorkTime;
    @ApiModelProperty(value = "是否允许客服拉黑用户")
    private Boolean isAllowAssistantBlack;

    @ApiModelProperty(value = "是否开启首句欢迎语")
    private Boolean isOpenFirstSentence;
    @ApiModelProperty(value = "欢迎语")
    private String firstSentence;
    @ApiModelProperty(value = "是否开启排队提醒语")
    private Boolean isOpenQueueReminder;
    @ApiModelProperty(value = "排队提醒语")
    private String queueReminder;
    @ApiModelProperty(value = "是否开启下班提醒语")
    private Boolean isOpenOffWorkReminder;
    @ApiModelProperty(value = "下班提醒语")
    private String offWorkReminder;
}
